package com.example.comment_oa.pojos;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * 
 * @TableName talentpool
 */
@Data
public class Talentpool implements Serializable {
    /**
     * 人才id
     */
    private Integer talentsId;

    /**
     * 姓名
     */
    @ExcelProperty("姓名")
    private String talentsName;

    /**
     * 性别
     */
    @ExcelProperty("性别")
    private Integer talentsSex;

    /**
     * 年龄
     */
    private Integer talentsAge;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date talentsBirthday;

    /**
     * 应聘岗位
     */
    private String talentsPosition;

    /**
     * 人才渠道
     */
    private String talentsChannel;

    /**
     * 最高学历
     */
    private String talentsEducation;

    /**
     * 工作经验
     */
    private String talentsExperience;

    /**
     * 电话号码
     */
    private String talentsPhone;

    /**
     * 投简时间
     */

//    @TableField(value = "talents_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp talentsTime;

    /**
     * 技术
     */
    private String talentsTechnology;

    /**
     * 状态(1简历，2人才库，3关注)
     */
    private Integer talentsState;

    /**
     * 邮箱
     */
    private String talentsMailbox;

    /**
     * 人才标签
     */
    private String talentsTalenttag;
    /**
     * 籍贯
     */
    private String talentsNative;
    /**
     * 婚姻
     */
    private String talentsMarriage;
    /**
     *QQ
     */
    private String talentsQq;
    private int talentsAnniu;
    @TableField(exist = false)
    @ExcelIgnore
    private List<TalentpoolEmp> talentpoolEmps;

    @TableField(exist = false)
    private int empId;


}